import { Divider } from 'antd';
import React from 'react';
import styles from './index.module.less';

export default function ListItem({ content, action }) {
    return (
        <div className={styles.wrap}>
            <div className={styles.content}>{content}</div>
            <Divider style={{ margin: '16px 0' }} />
            <div className={styles.action}>{action}</div>
        </div>
    );
}
